import java.util.ArrayList;

public class Words
{
   /**
      Returns all short words (length <= 3) in an array of words
      @param words an array of strings
      @return an array list containing the short words in words
   */
   public ArrayList<String> shortWords(String[] words)
   {
      // your work here
      int l=words.length;
      String[] worda;
      int k=0;
      for(int i=0;i<l;i++){
         if(words[i].length()<=3)
         return words[i];
      }
      
      
      
   }
}